import { http } from '@/utils/http/axios';

export function listAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/adjustment/list',
    method: 'get',
    data,
  });
}

export function pageAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/adjustment/page',
    method: 'post',
    data,
  });
}

export function addAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/adjustment/add',
    method: 'post',
    data,
  });
}

export function updateAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/adjustment/update',
    method: 'post',
    data,
  });
}

export function delAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/adjustment/delete',
    method: 'post',
    data,
  });
}

export function infoAdjustment(data = {}) {
  return http.request({
    url: '/admin/gather/adjustment/info',
    method: 'post',
    data,
  });
}
